import os
text=input("请输入一段文字:")
folder_path="C:\python-submits-the-job\第十周"
if not os.path.exists(folder_path):
    os.mkdir(folder_path)
file_name="hello.txt"
file_path=os.path.join(folder_path,file_name)
with open(file_path,"w") as f:
    f.write(text)
